[INFO] fetching crate scicrypt-he 0.7.1...
[INFO] checking scicrypt-he-0.7.1 against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] extracting crate scicrypt-he 0.7.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate scicrypt-he 0.7.1 on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate scicrypt-he 0.7.1
[INFO] finished tweaking crates.io crate scicrypt-he 0.7.1
[INFO] tweaked toml for crates.io crate scicrypt-he 0.7.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11df66a365d9e1c9fef3c27b80ec775e2ee5ec6ec954604cd6e92ebc2b3b3785
[INFO] running `Command { std: "docker" "start" "-a" "11df66a365d9e1c9fef3c27b80ec775e2ee5ec6ec954604cd6e92ebc2b3b3785", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11df66a365d9e1c9fef3c27b80ec775e2ee5ec6ec954604cd6e92ebc2b3b3785", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11df66a365d9e1c9fef3c27b80ec775e2ee5ec6ec954604cd6e92ebc2b3b3785", kill_on_drop: false }`
[INFO] [stdout] 11df66a365d9e1c9fef3c27b80ec775e2ee5ec6ec954604cd6e92ebc2b3b3785
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3987a9f41eddebadf47c8cfdc3909d2e6ca4d4508f8f2020a0bb5af144af8011
[INFO] running `Command { std: "docker" "start" "-a" "3987a9f41eddebadf47c8cfdc3909d2e6ca4d4508f8f2020a0bb5af144af8011", kill_on_drop: false }`
[INFO] [stderr]    Compiling gmp-mpfr-sys v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling platforms v3.0.2
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling rug v1.19.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling curve25519-dalek v4.0.0-pre.5
[INFO] [stderr]     Checking plotters-backend v0.3.4
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking plotters-svg v0.3.3
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rayon v1.6.1
[INFO] [stderr]     Checking plotters v0.3.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking criterion-plot v0.4.5
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking serde v1.0.152
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking serde_json v1.0.91
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stderr]     Checking scicrypt-traits v0.7.1
[INFO] [stderr]     Checking scicrypt-bigint v0.7.1
[INFO] [stderr]     Checking scicrypt-numbertheory v0.7.1
[INFO] [stderr]     Checking scicrypt-he v0.7.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/cryptosystems/curve_el_gamal.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/cryptosystems/integer_el_gamal.rs:225:9
[INFO] [stdout]     |
[INFO] [stdout] 225 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/cryptosystems/paillier.rs:222:9
[INFO] [stdout]     |
[INFO] [stdout] 222 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/cryptosystems/rsa.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/threshold_cryptosystems/integer_el_gamal.rs:257:9
[INFO] [stdout]     |
[INFO] [stdout] 257 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng`
[INFO] [stdout]    --> src/threshold_cryptosystems/paillier.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     use rand_core::OsRng;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ no `OsRng` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]   --> src/cryptosystems/curve_el_gamal.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let secret_key = Scalar::random(rng.rng());
[INFO] [stdout]    |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/cryptosystems/curve_el_gamal.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let randomness = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/cryptosystems/curve_el_gamal.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let randomness = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]   --> src/threshold_cryptosystems/curve_el_gamal.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 key: Scalar::random(rng.rng()),
[INFO] [stdout]    |                              ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let master_key = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:121:30
[INFO] [stdout]     |
[INFO] [stdout] 121 |             .map(|_| Scalar::random(rng.rng()))
[INFO] [stdout]     |                              ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `one` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:176:37
[INFO] [stdout]     |
[INFO] [stdout] 176 |                 let mut b = Scalar::one();
[INFO] [stdout]     |                                     ^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]   --> src/cryptosystems/curve_el_gamal.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let secret_key = Scalar::random(rng.rng());
[INFO] [stdout]    |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/cryptosystems/curve_el_gamal.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let randomness = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/cryptosystems/curve_el_gamal.rs:171:34
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let randomness = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scicrypt-he` due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]   --> src/threshold_cryptosystems/curve_el_gamal.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 49 |                 key: Scalar::random(rng.rng()),
[INFO] [stdout]    |                              ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let master_key = Scalar::random(rng.rng());
[INFO] [stdout]     |                                  ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:121:30
[INFO] [stdout]     |
[INFO] [stdout] 121 |             .map(|_| Scalar::random(rng.rng()))
[INFO] [stdout]     |                              ^^^^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `one` found for struct `Scalar` in the current scope
[INFO] [stdout]    --> src/threshold_cryptosystems/curve_el_gamal.rs:176:37
[INFO] [stdout]     |
[INFO] [stdout] 176 |                 let mut b = Scalar::one();
[INFO] [stdout]     |                                     ^^^ function or associated item not found in `Scalar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scicrypt-he` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "3987a9f41eddebadf47c8cfdc3909d2e6ca4d4508f8f2020a0bb5af144af8011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3987a9f41eddebadf47c8cfdc3909d2e6ca4d4508f8f2020a0bb5af144af8011", kill_on_drop: false }`
[INFO] [stdout] 3987a9f41eddebadf47c8cfdc3909d2e6ca4d4508f8f2020a0bb5af144af8011
